package com.cwnu.service;

import com.cwnu.entity.Comment;
import com.cwnu.entity.User;

import java.util.List;

public interface CommentService {

    void deleteComment(Integer id);

    void createComment(Integer articleId, String content);

    List<Comment> getCommentsByArticleId(Integer id);

    User getUserByUserId(Integer id);
}
